Optimal. Leaf size=324 \[ -\frac{b \sqrt{1-d^2 x^2} \left (45 a^2 d^4+60 a c d^2+10 b^2 d^2+24 c^2\right )}{15 d^6}-\frac{x \sqrt{1-d^2 x^2} \left (24 a^2 c d^4+24 a b^2 d^4+18 a c^2 d^2+18 b^2 c d^2+5 c^3\right )}{16 d^6}+\frac{\sin ^{-1}(d x) \left (16 a^3 d^6+24 a^2 c d^4+24 a b^2 d^4+18 a c^2 d^2+18 b^2 c d^2+5 c^3\right )}{16 d^7}-\frac{b x^2 \sqrt{1-d^2 x^2} \left (30 a c d^2+5 b^2 d^2+12 c^2\right )}{15 d^4}-\frac{c x^3 \sqrt{1-d^2 x^2} \left (18 a c d^2+18 b^2 d^2+5 c^2\right )}{24 d^4}-\frac{3 b c^2 x^4 \sqrt{1-d^2 x^2}}{5 d^2}-\frac{c^3 x^5 \sqrt{1-d^2 x^2}}{6 d^2} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 1.4199, antiderivative size = 324, normalized size of antiderivative = 1., number of steps used = 8, number of rules used = 4, integrand size = 32, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.125 \[ -\frac{b \sqrt{1-d^2 x^2} \left (45 a^2 d^4+60 a c d^2+10 b^2 d^2+24 c^2\right )}{15 d^6}-\frac{x \sqrt{1-d^2 x^2} \left (24 a^2 c d^4+24 a b^2 d^4+18 a c^2 d^2+18 b^2 c d^2+5 c^3\right )}{16 d^6}+\frac{\sin ^{-1}(d x) \left (16 a^3 d^6+24 a^2 c d^4+24 a b^2 d^4+18 a c^2 d^2+18 b^2 c d^2+5 c^3\right )}{16 d^7}-\frac{b x^2 \sqrt{1-d^2 x^2} \left (30 a c d^2+5 b^2 d^2+12 c^2\right )}{15 d^4}-\frac{c x^3 \sqrt{1-d^2 x^2} \left (18 a c d^2+18 b^2 d^2+5 c^2\right )}{24 d^4}-\frac{3 b c^2 x^4 \sqrt{1-d^2 x^2}}{5 d^2}-\frac{c^3 x^5 \sqrt{1-d^2 x^2}}{6 d^2} \]
Antiderivative was successfully verified.
[In] Int[(a + b*x + c*x^2)^3/(Sqrt[1 - d*x]*Sqrt[1 + d*x]),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 169.637, size = 309, normalized size = 0.95 \[ - \frac{\left (8 b + 5 c x\right ) \sqrt{- d^{2} x^{2} + 1} \left (a + b x + c x^{2}\right )^{2}}{30 d^{2}} + \frac{\left (16 a^{3} d^{6} + 24 a^{2} c d^{4} + 24 a b^{2} d^{4} + 18 a c^{2} d^{2} + 18 b^{2} c d^{2} + 5 c^{3}\right ) \operatorname{asin}{\left (d x \right )}}{16 d^{7}} - \frac{\left (3 b \left (86 a c d^{2} + 2 b^{2} d^{2} + 71 c^{2}\right ) + 3 c x \left (6 b^{2} d^{2} + 25 c \left (2 a d^{2} + c\right )\right )\right ) \sqrt{- d^{2} x^{2} + 1} \left (a + b x + c x^{2}\right )}{360 c d^{4}} - \frac{\left (6 b \left (242 a^{2} c d^{4} - 2 a b^{2} d^{4} + 409 a c^{2} d^{2} + 80 b^{2} c d^{2} + 192 c^{3}\right ) + x \left (660 a^{2} c^{2} d^{4} + 144 a b^{2} c d^{4} + 660 a c^{3} d^{2} - 12 b^{4} d^{4} + 384 b^{2} c^{2} d^{2} + 225 c^{4}\right )\right ) \sqrt{- d^{2} x^{2} + 1}}{720 c d^{6}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((c*x**2+b*x+a)**3/(-d*x+1)**(1/2)/(d*x+1)**(1/2),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.364603, size = 229, normalized size = 0.71 \[ \frac{15 \sin ^{-1}(d x) \left (16 a^3 d^6+24 a^2 c d^4+24 a b^2 d^4+18 a c^2 d^2+18 b^2 c d^2+5 c^3\right )-d \sqrt{1-d^2 x^2} \left (48 b \left (15 a^2 d^4+10 a c d^2 \left (d^2 x^2+2\right )+c^2 \left (3 d^4 x^4+4 d^2 x^2+8\right )\right )+5 c x \left (72 a^2 d^4+18 a c d^2 \left (2 d^2 x^2+3\right )+c^2 \left (8 d^4 x^4+10 d^2 x^2+15\right )\right )+90 b^2 d^2 x \left (4 a d^2+c \left (2 d^2 x^2+3\right )\right )+80 b^3 d^2 \left (d^2 x^2+2\right )\right )}{240 d^7} \]
Antiderivative was successfully verified.
[In] Integrate[(a + b*x + c*x^2)^3/(Sqrt[1 - d*x]*Sqrt[1 + d*x]),x]
[Out]
_______________________________________________________________________________________
Maple [C] time = 0.084, size = 602, normalized size = 1.9 \[ \text{result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((c*x^2+b*x+a)^3/(-d*x+1)^(1/2)/(d*x+1)^(1/2),x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 0.794152, size = 554, normalized size = 1.71 \[ -\frac{\sqrt{-d^{2} x^{2} + 1} c^{3} x^{5}}{6 \, d^{2}} - \frac{3 \, \sqrt{-d^{2} x^{2} + 1} b c^{2} x^{4}}{5 \, d^{2}} + \frac{a^{3} \arcsin \left (\frac{d^{2} x}{\sqrt{d^{2}}}\right )}{\sqrt{d^{2}}} - \frac{5 \, \sqrt{-d^{2} x^{2} + 1} c^{3} x^{3}}{24 \, d^{4}} - \frac{3 \, \sqrt{-d^{2} x^{2} + 1}{\left (b^{2} c + a c^{2}\right )} x^{3}}{4 \, d^{2}} - \frac{3 \, \sqrt{-d^{2} x^{2} + 1} a^{2} b}{d^{2}} - \frac{4 \, \sqrt{-d^{2} x^{2} + 1} b c^{2} x^{2}}{5 \, d^{4}} - \frac{\sqrt{-d^{2} x^{2} + 1}{\left (b^{3} + 6 \, a b c\right )} x^{2}}{3 \, d^{2}} - \frac{3 \, \sqrt{-d^{2} x^{2} + 1}{\left (a b^{2} + a^{2} c\right )} x}{2 \, d^{2}} + \frac{3 \,{\left (a b^{2} + a^{2} c\right )} \arcsin \left (\frac{d^{2} x}{\sqrt{d^{2}}}\right )}{2 \, \sqrt{d^{2}} d^{2}} - \frac{5 \, \sqrt{-d^{2} x^{2} + 1} c^{3} x}{16 \, d^{6}} - \frac{9 \, \sqrt{-d^{2} x^{2} + 1}{\left (b^{2} c + a c^{2}\right )} x}{8 \, d^{4}} - \frac{8 \, \sqrt{-d^{2} x^{2} + 1} b c^{2}}{5 \, d^{6}} - \frac{2 \, \sqrt{-d^{2} x^{2} + 1}{\left (b^{3} + 6 \, a b c\right )}}{3 \, d^{4}} + \frac{5 \, c^{3} \arcsin \left (\frac{d^{2} x}{\sqrt{d^{2}}}\right )}{16 \, \sqrt{d^{2}} d^{6}} + \frac{9 \,{\left (b^{2} c + a c^{2}\right )} \arcsin \left (\frac{d^{2} x}{\sqrt{d^{2}}}\right )}{8 \, \sqrt{d^{2}} d^{4}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x^2 + b*x + a)^3/(sqrt(d*x + 1)*sqrt(-d*x + 1)),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.289888, size = 1593, normalized size = 4.92 \[ \text{result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x^2 + b*x + a)^3/(sqrt(d*x + 1)*sqrt(-d*x + 1)),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x**2+b*x+a)**3/(-d*x+1)**(1/2)/(d*x+1)**(1/2),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.31835, size = 518, normalized size = 1.6 \[ -\frac{{\left (720 \, a^{2} b d^{41} - 360 \, a b^{2} d^{40} - 360 \, a^{2} c d^{40} + 240 \, b^{3} d^{39} + 1440 \, a b c d^{39} - 450 \, b^{2} c d^{38} - 450 \, a c^{2} d^{38} + 720 \, b c^{2} d^{37} - 165 \, c^{3} d^{36} +{\left (360 \, a b^{2} d^{40} + 360 \, a^{2} c d^{40} - 160 \, b^{3} d^{39} - 960 \, a b c d^{39} + 810 \, b^{2} c d^{38} + 810 \, a c^{2} d^{38} - 960 \, b c^{2} d^{37} + 425 \, c^{3} d^{36} + 2 \,{\left (40 \, b^{3} d^{39} + 240 \, a b c d^{39} - 270 \, b^{2} c d^{38} - 270 \, a c^{2} d^{38} + 528 \, b c^{2} d^{37} - 275 \, c^{3} d^{36} +{\left (90 \, b^{2} c d^{38} + 90 \, a c^{2} d^{38} - 288 \, b c^{2} d^{37} + 225 \, c^{3} d^{36} + 4 \,{\left (5 \,{\left (d x + 1\right )} c^{3} d^{36} + 18 \, b c^{2} d^{37} - 25 \, c^{3} d^{36}\right )}{\left (d x + 1\right )}\right )}{\left (d x + 1\right )}\right )}{\left (d x + 1\right )}\right )}{\left (d x + 1\right )}\right )} \sqrt{d x + 1} \sqrt{-d x + 1} - 30 \,{\left (16 \, a^{3} d^{42} + 24 \, a b^{2} d^{40} + 24 \, a^{2} c d^{40} + 18 \, b^{2} c d^{38} + 18 \, a c^{2} d^{38} + 5 \, c^{3} d^{36}\right )} \arcsin \left (\frac{1}{2} \, \sqrt{2} \sqrt{d x + 1}\right )}{21626880 \, d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x^2 + b*x + a)^3/(sqrt(d*x + 1)*sqrt(-d*x + 1)),x, algorithm="giac")
[Out]